import request from '@/utils/request'
/**
 * 文件上传
 * @param {string} file 表单文件对象
  * @returns
 */
export function uploadFile(formData) {
  return request({
    url:`/files`,
    method:'post',
    data:formData
  })
}
